package com.tedu.pojo;

import java.util.Date;

/**
 * 党建信息实体类
 * news一一对应
 */
public class News {

   private int  id;
   private String title;
    private String auhtor;
    private String content;
    private Date createtme;
    private String fromnews;
    private String type;

    @Override
    public String toString() {
        return "News{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", auhtor='" + auhtor + '\'' +
                ", content='" + content + '\'' +
                ", createtme=" + createtme +
                ", fromnews='" + fromnews + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuhtor() {
        return auhtor;
    }

    public void setAuhtor(String auhtor) {
        this.auhtor = auhtor;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatetme() {
        return createtme;
    }

    public void setCreatetme(Date createtme) {
        this.createtme = createtme;
    }

    public String getFromnews() {
        return fromnews;
    }

    public void setFromnews(String fromnews) {
        this.fromnews = fromnews;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
